using System;
//using System.Runtime.Remoting.Messaging ;
using Abhinaba.Aspect.Logging;
using Abhinaba.Aspect.Security;

[Tracing()]
[Security()]
public class MyClass : ContextBoundObject {
    public int i;
    public int ProcessString(String s, out string outStr) {
        Console.WriteLine("Inside ProcessString");
        outStr = s.ToUpper();
        return outStr.Length;
    }

    public int I
    {
        get { return i; }
        set { i = value; }
    }
}

public class client {
    public static void Main2() {
        MyClass traceMe = new MyClass();
        traceMe.i = 15;
        traceMe.I++;
        string outstring;
        traceMe.ProcessString("Abhinaba", out outstring);
        Console.ReadLine();
    }
}
